package edu.xpu.compute.recommend.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import edu.xpu.compute.recommend.entity.SysColdBootBook;
import edu.xpu.compute.recommend.repository.SysColdBootBookRepository;

@Service
@Transactional(readOnly=true)
public class SysColdBootBookService {
	@Autowired
	private SysColdBootBookRepository coldBootBookRepository;

	/**
	 * 获取所有信息
	 * @return
	 */
	public List<SysColdBootBook> findAll() {
		List<SysColdBootBook> list = coldBootBookRepository.findAll();
		return list;
	}
}
